﻿using e_commerce.BLL.Data;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace e_commerce.BLL.Services
{
    public interface IOrderEnterpriseManager
    {     
        #region 企业端接口
        /// <summary>
        /// 接受订单
        /// </summary>
        /// <param name="orderId">订单id</param>
        void AcceptOrderByOrderId(string orderId);
        /// <summary>
        /// 修改备注
        /// </summary>
        /// <param name="orderId">订单id</param>
        /// <param name="remark">备注</param>
        void ModifyRemarkByOrderId(string orderId, string remark);
        /// <summary>
        /// 同意退款
        /// </summary>
        /// <param name="orderId">订单id</param>
        void AgreeRefundByOrderId(string orderId);

        /// <summary>
        /// 拒绝退款
        /// </summary>
        /// <param name="orderId">订单id</param>
        void RefuseRefundByOrderId(string orderId);
        /// <summary>
        /// 发货
        /// </summary>
        /// <param name="orderId">订单id</param>
        void ConfirmDeliverByOrderId(string orderId);
        /// <summary>
        /// 同意退货
        /// </summary>
        /// <param name="orderId">订单id</param>
        void AgreeReturnByOrderId(string orderId);
        /// <summary>
        /// 拒绝退货
        /// </summary>
        /// <param name="orderId">订单id</param>
        void RefuseReturnByOrderId(string orderId);
        #endregion
    }
}
